From: Bastien Nocera Date: Fri, 7 Nov 2014 13:58:22 +0000 (+0100) Subject: Calendar: Remove leading zeros for 24h time format X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1988 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=316f825b2ac718;p=gnome-shell.git Calendar: Remove leading zeros for 24h time format https://bugzilla.gnome.org/show_bug.cgi?id=658675 --- diff --git a/js/ui/calendar.js b/js/ui/calendar.js index e639ef739..bb78622a9 100644 --- a/js/ui/calendar.js +++ b/js/ui/calendar.js @@ -74,7 +74,7 @@ function _formatEventTime(event, clockFormat, periodBegin, periodEnd) { case '24h': /* Translators: Shown in calendar event list, if 24h format, \u2236 is a ratio character, similar to : */ - ret = date.toLocaleFormat(C_("event list time", "%H\u2236%M")); + ret = date.toLocaleFormat(C_("event list time", "%k\u2236%M")); break; default: